#ifndef __QUEUE_H
#define __QUEUE_H

#define MAXSIZE 10
typedef struct queue{
	int front;
	int rear;
	int data[MAXSIZE];
}queue;

queue * init_queue();
int isFull(queue *q);
int isEmpty(queue *q);
void enqueue(queue *q,int data);
int dequeue(queue *q);
#endif
